package com.atguigu.gmall.item.service;

import com.atguigu.gmall.product.vo.SkuDetailVo;

public interface SkuDetailService {

    /**
     * 获取商品详情数据
     * @return
     */
    SkuDetailVo getSkuDetailVoFromRpc(Long skuId);

    /**
     * 在获取商品详情中加入缓存业务逻辑
     * @param skuId
     * @return
     */
    SkuDetailVo getSkuDetailData(Long skuId);
}
